
	<div class="results">
	<? while($c = mysql_fetch_assoc($result)) { 
		if (!searchbreak($c,"",'<br style=clear:left />')) {
			continue; //skip this image!
		}
	
	?>
	  <div style="float:left;position:relative; width:130px; height:130px">
	  <div align="center">
	  <a title="<? ehec('grid_reference'); ?> : <? ehec('title'); ?> by <? ehec('realname'); ?> - click to view full size image" href="http://www.geograph.org.uk/photo/<? echo $c['gridimage_id']; ?>"><img src="<? echo gGUc($c); ?>"/></a></div>
	  </div>
	<? } 
	searchbreak($c,'','<br style=clear:left />'); ?>
	
	</div>